 <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
  <%@page import="com.hero.core.constant.SysDicConstant"%>
 <%@ taglib prefix="pm" uri="http://heroj.cn/permissionTag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<head>
<title>ReportLose</title>
<%--  <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" /> --%>
  <script src="${cdnAddress}/js/boot.js${cacheVersion}" type="text/javascript"></script>
 <script src="${cdnAddress}/js/util.js${cacheVersion}" type="text/javascript"></script>
 <link href="${cdnAddress}/css/util.css${cacheVersion}" rel="stylesheet" type="text/css" />
 <link href="${cdnAddress}/css/common_view_seach_table.css${cacheVersion}" rel="stylesheet" type="text/css" />
</head>
<body>
<input type="hidden" id="projectName" value="${projectName}" />
<form id="ReportLoseListForm" method="post">
 	 <input class="mini-hidden" id="ids" name="ids" value=""/> 	 
  <div>
        <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
        <div id="formseach">
            <table class="commonTable" border="1" width="100%" bordercolor="#e5e5e5">
        	 <tr class="commonTr">
           	 <td>分公司:</td><td><input  class="mini-comboBox"   id="branchOrgId" name="branchOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=1" onvaluechanged="onChangeBranch"/></td>
           	 <td>办事处:</td><td><input  class="mini-comboBox"   id="officeOrgId" name="officeOrgId" textField="orgName" valueField="orgId" url="${projectName }/OrgAdmin/queryList?orgType=2"/></td>
           	 <td>操作人:</td><td><input  class="mini-textbox"   id="createUser" name="createUser" /></td>
           	 </tr>           	 <tr class="commonTr">
           	 <td>设备名称:</td><td><input  class="mini-textbox"   id="equipmentName" name="equipmentName" /></td>
             <td>设备类型:</td><td><input  class="mini-comboBox"   id="equipmentTypeId" name="equipmentTypeId" textField="dicName" valueField="dicVal" url="${projectName }/DictionaryAdmin/queryDictionaryByTypeIds?typeids=<%=SysDicConstant.DIC_PARENT_VAL_53  %>"/></td>
           	 <td>业务单号:</td><td><input  class="mini-textbox"   id="businessId" name="businessId" /></td>
           	 </tr>           	 <tr class="commonTr">
           	 <td >操作日期:</td><td><input    class="mini-datepicker"   id="updateTime" name="updateTime"  /></td>
           	 </tr> 
           	 <tr>
			 <td colspan="6">
			
			 <a class="mini-button" iconCls="icon-search" onclick="seachRow()">查询</a>
			  <a class="mini-button" iconCls="icon-undo" onclick="resetForm()">重置</a></td>
          	</tr> 
          	</table>   
            </div>        
        </div> 
    </div>
</form> 
    <div>
     <div class="mini-toolbar" style="border-bottom:0;padding:0px;">
            <table style="width:100%;">
                <tr>
                 	<td style="width:100%;">
                 	 <pm:Permission moduleName="ReportLose">
                      <!--   <a class="mini-button" id="addReportLose" iconCls="icon-add" onclick="addReportLose()">增加</a>
                        <a class="mini-button" id="editReportLose" iconCls="icon-edit" onclick="editReportLose()">编辑</a>
                        <a class="mini-button" id="removeReportLose" iconCls="icon-remove" onclick="removeReportLose()">删除</a>
                        <a class="mini-button" id="freezeReportLose" iconCls="icon-lock" onclick="freezeReportLose()">冻结</a>     
                        <a class="mini-button" id="freeReportLose" iconCls="icon-unlock" onclick="freeReportLose()">解冻</a>            
                        <a class="mini-button" id="importReportLose" iconCls="icon-upload" onclick="importReportLose()">导入</a>             -->
                                     <a class="mini-button" id="viewReportLoseBarcode" iconCls="icon-download" onclick="viewReportLoseBarcode()" width="90px">查看条码</a>    
                        <a class="mini-button" id="exportReportLose" iconCls="icon-download" onclick="exportReportLose()">导出</a>            
<!--                         <a class="mini-button" id="viewReportLoseDetail" iconCls="icon-download" onclick="viewReportLoseDetail()" width="90px">查看详情</a>            
 -->                  
                     </pm:Permission>
                    </td>
                     
                </tr>
            </table>           
        </div>
    </div>
   <div class="mini-fit" style="height:100px;">
  <div id="ReportLoseGrid" class="mini-datagrid" style="width:100%;height:100%;"  
        url="${projectName}/ReportLoseAdmin/List"  idField="id"   sizeList="[10,20,30,50]" pageSize="30" multiSelect="true" >
        <div property="columns">
            <div type="checkcolumn"></div> 
            <div field="id" visible="false"
           >主键</div>
            <div field="branchOrgId" visible="false"
           >分公司ID</div>
            <div field="branchOrgName" 
           >分公司名称</div>
            <div field="officeOrgId" visible="false"
           >办事处ID</div>
            <div field="officeOrgName" 
           >办事处名称</div>
            <div field="createUser" 
           >操作人</div>
            <div field="createUserId" visible="false"
           >操作人ID</div>
            <div field="createDate"   dateFormat="yyyy-MM-dd HH:mm:ss"
           >创建日期</div>
            <div field="equipmentTypeName" 
           >设备类型</div>
            <div field="equipmentTypeId"  visible="false"
           >设备类型ID</div>
            <div field="quantity"
           >数量</div>
            <div field="equipmentName"
           >设备名称</div>
            <div field="equipmentId" visible="false" 
           >设备数量</div>
            <div field="shopId" visible="false"
           >店铺ID</div>
            <div field="shopName" 
           >店铺名称</div>
            <div field="reason" 
           >丢失理由</div>
            <div field="businessId" 
           >业务单号</div>
            <div field="status" 
           >单据状态</div>
            <div field="updateTime" 
           dateFormat="yyyy-MM-dd">操作日期</div>
        </div>
    </div> 

    </div>
<script src="${scripts}/reportlose/ReportLoseList.js${cacheVersion}" type="text/javascript"></script>
</body>

</html>